package cn.ywang.strategy.pay;

/**
 * @Auther: BeatificWang
 * @Date: 2018/9/30 21:38
 */
public class PayState {
	private String code;

	private String data;

	private String message;

	public PayState(String code, String data, String message) {
		this.code = code;
		this.data = data;
		this.message = message;
	}

	public String toString() {
		StringBuffer sb = new StringBuffer();
		sb.append("支付状态：[" + this.code + "],");
		sb.append("支付信息：[" + this.message + "],");
		sb.append("支付详情：[" + this.data + "]");
		return sb.toString();
	}

	public String getCode() {
		return this.code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getData() {
		return this.data;
	}

	public void setData(String data) {
		this.data = data;
	}

	public String getMessage() {
		return this.message;
	}

	public void setMessage(String message) {
		this.message = message;
	}
}
